package designpattern.factory.simplefactory;

/*
    客户点购Pizza案例，Pizza有GreekPizza和CheesePizza两种
 */
public class Test {
    public static void main(String[] args) {
        OrderPizza orderPizza=new OrderPizza();
        orderPizza.setPizzaFactory(PizzaFactory.getInstance());
        orderPizza.order();
    }
}
